package com.innoking.docsys.workflow.service;

import com.innoking.docsys.utils.ResultObjVO;
import com.innoking.docsys.workflow.module.WorkflowGroupVO;
import com.innoking.docsys.workflow.module.WorkflowUserVO;

import java.util.List;

/**
 * 描述:
 *
 * @author zyp
 * @description 工作流用户与组service
 * @create 2019-09-06 13:46
 */
public interface WorkflowIdentityService {

    /**
     * @author:zyp
     * @description 添加与更新工作流用户
     * @date: 2019/9/6 13:49
     * @return 
     */
    ResultObjVO addUpdateUser(WorkflowUserVO workflowUser);

    /**
     * @author:zyp
     * @description 删除工作流用户
     * @date: 2019/9/6 13:55
     * @return 
     */
    ResultObjVO deleteUser(List<String> ids);

    /**
     * @author:zyp
     * @description 添加或更新组
     * @date: 2019/9/6 13:55
     * @return 
     */
    ResultObjVO saveUpdateGroup(WorkflowGroupVO workflowGroup);

    /**
     * @author:zyp
     * @description 删除工作流组
     * @date: 2019/9/6 14:00
     * @return 
     */
    ResultObjVO deleteGroup(String ids);

}